<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>04_文字处理</title>
    <style>
        p{
            font-size: 20px;/*字号 默认字号16px*/
            font-family: "宋体","正楷";/* 设置字体，从前往后一次加载*/
        }
        a{
            text-decoration: underline;/*下划线*/
            text-decoration: overline;/*顶线*/
            text-decoration: line-through;/*删除线*/
            text-decoration: none;/*去掉修饰线*/
        }
        div{
            width: 200px;
            height: 200px;
            border: 5px solid #00f ;
            text-align: center;/*文本水平线居中*/
            line-height: 200px;/*文本的行高与父元素一样高，可以实现垂直居中*/
        }
        span{
            font-weight: bold;
            font-weight: lighter;
            font-weight: normal;
            font-style: italic;
        }
        h4{
            text-shadow: 5px 5px 5px red;
        }
    </style>
</head>
<body>
    <p>我是测试文字 123 ABC abc</p>
    <a href="#">超链接</a>
    <div>我是div</div>
    <span>我是行内分区元素</span>
    <h4>我是标题</h4>
</body>
</html>